Integrating Web Services with OAuth and PHP by Matthew Frost & Matthew Frost

Integrating Web Services with OAuth and PHP by Matthew Frost & Matthew Frost

Author:Matthew Frost & Matthew Frost
Language: eng
Format: mobi
ISBN: 9781940111261
Publisher: php[architect]
Published: 2016-02-01T05:00:00+00:00


As you can see here, we’re able to take the credentials we received and build the OAuth signature. The OAuth signature, as discussed in earlier chapters, is how you actually identify yourself to the application or API you are trying to hit. Generating it is important, and as you can see here, it’s really pretty easy to do. The sign method will take care of ensuring our parameters are in the proper order. All that we have to do in this case is provide all the additional parameters to the sign method. We can insert this signature in our Authorization header with all the other information, and we’re good to go.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.